import request from '@/utils/request';

//获取选科结果信息
export function getSelectResInfo(data) {
  return request({
    url: '/index/selectResInfo',
    method: 'post',
    data: data,
  });
}
//获取选科政策
export function getSelectPolicy(data) {
  return request({
    url: '/index/selectPolicy',
    method: 'post',
    data: data,
  });
}
//获取选科综合匹配率
export function getSelectMatchRatio(data) {
  return request({
    url: '/index/selectMatchRatio',
    method: 'post',
    data: data,
  });
}

// 选科按学校搜索
export function getSelectSearchSchool(data) {
  return request({
    url: '/index/selectSearchSchool',
    method: 'post',
    data: data,
  });
}
// 查大学筛选条件
export function getSearchSchoolFilter(data) {
  return request({
    url: '/index/searchSchoolFilter',
    method: 'post',
    data: data,
  });
}
// 查专业筛选条件
export function getAllMajor(data) {
  return request({
    url: '/index/allMajor',
    method: 'post',
    data: data,
  });
}
// 选科按学校搜索匹配率
export function getSelectSearchSchoolMatch(data) {
  return request({
    url: '/index/selectSearchSchoolMatch',
    method: 'post',
    data: data,
  });
}
//选科按学校搜索专业
export function getSelectSearchSchoolMajor(data) {
  return request({
    url: '/index/selectSearchSchoolMajor',
    method: 'post',
    data: data,
  });
}
//选科按专业类搜索
export function getSelectSearchMajorClass(data) {
  return request({
    url: '/index/selectSearchMajorClass',
    method: 'post',
    data: data,
  });
}
//选科按专业搜索
export function getSelectSearchMajor(data) {
  return request({
    url: '/index/selectSearchMajor',
    method: 'post',
    data: data,
  });
}
//选科按专业搜索匹配率
export function getSelectSearchMajorMatch(data) {
  return request({
    url: '/index/selectSearchMajorMatch',
    method: 'post',
    data: data,
  });
}

//选科各组合关联性
export function getSelectMatchContact(data) {
  return request({
    url: '/index/selectMatchContact',
    method: 'post',
    data: data,
  });
}
// 查专业
export function getSearchMajor(data) {
  return request({
    url: '/index/searchMajor',
    method: 'post',
    data: data,
  });
}
//查大学

export function getSearchSchool(data) {
  return request({
    url: '/index/searchSchool',
    method: 'post',
    data: data,
  });
}

//选科结果保存
export function getSelectResSave(data) {
  return request({
    url: '/index/selectResSave',
    method: 'post',
    data: data,
  });
}
